TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt
DESTDIR = ../bin

SOURCES += \
        app_context.cpp \
        com/file_utils.cpp \
        com/online_table.cpp \
        com/properties.cpp \
        com/simple_logger.cpp \
        com/utils.cpp \
        encrypt/certification.cpp \
        encrypt/crypto_graphic.cpp \
        main.cpp \
        security_msg.pb.cc \
        sms_server.cpp \
        socket_manager.cpp \
        stream/stream_handle.cpp \
        stream/stream_service.cpp \
        tinyxml/tinystr.cpp \
        tinyxml/tinyxml.cpp \
        tinyxml/tinyxmlerror.cpp \
        tinyxml/tinyxmlparser.cpp \
        transmit/metadata.cpp \
        transmit/net_bus.cpp \
        work_group.cpp \
        work_thread.cpp

HEADERS += \
    app_context.h \
    com/file_utils.h \
    com/online_table.h \
    com/properties.h \
    com/simple_logger.h \
    com/utils.h \
    encrypt/certification.h \
    encrypt/crypto_graphic.h \
    globe_type.h \
    security_msg.pb.h \
    sms_server.h \
    socket_manager.h \
    stream/stream_handle.h \
    stream/stream_service.h \
    tinyxml/tinystr.h \
    tinyxml/tinyxml.h \
    transmit/metadata.h \
    transmit/net_bus.h \
    work_group.h \
    work_thread.h


unix:!macx: LIBS += -L$$PWD/../lib/ -levent -lpthread -llog4cplus -lprotobuf -lcrypto -lcrypt

INCLUDEPATH += $$PWD/../include
DEPENDPATH += $$PWD/../include
